package com.fzshang.shopping.commen.service;

import com.fzshang.shopping.commen.bean.Classification;
import com.fzshang.shopping.commen.bean.ShoppingOrder;
import com.baomidou.mybatisplus.extension.service.IService;
import com.fzshang.shopping.commen.bean.layuiBean.ResultPage;
import com.fzshang.shopping.commen.bean.layuiBean.VoPage;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 冯政尚
 * @since 2020-03-28
 */
public interface ShoppingOrderService extends IService<ShoppingOrder> {

    //全部订单
    List<ShoppingOrder> selectOrderDesc(String openid);
    //待付款
    List<ShoppingOrder> selectDaiFuKuanOrderDesc(String openid);
    //待发货
    List<ShoppingOrder> selectDaiFaHuoOrderDesc(String openid);
    //待收货
    List<ShoppingOrder> selectDaiShouHuoOrderDesc(String openid);
    //退货/售后
    List<ShoppingOrder> selectTuiSHouOrderDesc(String openid);

    /**
     * @param voPage
     * @return 后台查询
     */
    ResultPage<ShoppingOrder> selectMyPage(VoPage voPage, ShoppingOrder shoppingOrder);
}
